package br.com.lh.urabuilder.domain.xml
{
	import br.com.lh.urabuilder.model.UraModelLocator;
	
	import mx.collections.ArrayCollection;
	
	public class PlaySoundAction extends BaseActionWithNext
	{
		private var soundList:ArrayCollection = UraModelLocator.getInstance().resourceManager.soundList;
		
		public var soundPath:UraActionField = new 
		UraActionField(null,"-",soundList);
		
		override public function xmlName():String{
			return "PlaySound";
		}
		
		override public function toolTipText():String{
			return "Plays a sound file to the user";
		}
		
		public function PlaySoundAction()
		{
		}
		
		override public function toXML(includeNull:Boolean):XML{
			var newXmlRow:XML= <PlaySound></PlaySound>
			super.buildXml(newXmlRow,includeNull);
			return newXmlRow;
		}

	


	}
}